package dd.prog2.musterExercises.ws12set03_function;

public class Parabel extends Function {

	private double a;
	private double b;
	private double c;

	public Parabel(double a, double b, double c) {
		this.a = a;
		this.b = b;
		this.c = c;
	}

	@Override
	public double map(double x) {
		return a * x * x + b * x + c;
	}
}
